<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        nav {
            width: 400px;
            height: 50px;
            background-color: rgb(243, 245, 247);
            margin: 0 auto;
            border-radius: 5px;

        }

        nav ul {
            list-style: none;
            display: flex;
            justify-content: space-around;
            line-height: 3;
            margin: 0;
            padding: 0;


        }

        nav ul li a {
            text-decoration: none;
            color: black;
        }

        ul>li:first-child>a {
            font-weight: bold;
        }

        ul>li:nth-child(2)>a {
            color: rgb(253, 150, 78);
            border-bottom: 2px solid rgb(253, 150, 78);
            padding-bottom: 5px;
        }
    </style>
</head>
<nav>
    <ul>
        <li><a href="#">首页</a></li>
        <li><a href="#">热门美食</a></li>
        <li><a href="#">特色小吃</a></li>
        <li><a href="#">甜品推荐</a></li>
    </ul>
</nav>
</body>

</html>